package com.yunhe.tianhe.rentcars.service.client;

import com.yunhe.tianhe.commons.dto.Pageable;
import com.yunhe.tianhe.rentcars.entity.client.Client;
import com.yunhe.tianhe.rentcars.entity.client.ClientCompany;

/**
 * Created by Administrator on 2017/11/23 0023.
 */
public interface ClientService {


    /**
     * 添加客户基本信息,公司信息
     * @param client
     */
    void save(Client client, ClientCompany clientCompany);


    /**
     * 搜索展示列表
     * @return
     */
    Pageable<Client> searchList(Integer offset, Integer limit, Long memLevel, String addTime, String mobile, String lastTime);


    /**
     * 通过电话查找
     * @param mobile
     * @return
     */
    Client findOneByMobile(String mobile);



}
